package wowrl.data;

import wowrl.data.Terrain.TerrainType;
import wowrl.engine.WOWRL_Engine;

public class TerrainFactory {
	private WOWRL_Engine engine;
	
	//Constructor
	public TerrainFactory(WOWRL_Engine engine){
		this.engine = engine;
	}
	
	//Specific production
	public Terrain createVoid(){
		return new Terrain(engine,829,"void", TerrainType.Void, true, false, false);		
	}
	
	public Terrain createWall(){
		//return new Terrain(engine,830,"wall", TerrainType.Wall, true, true, true);
		return createCaveWall();
	}
	
	public Terrain createCaveWall()
	{
		return new Terrain(engine,1013,"wall", TerrainType.Wall, true, true, true);				
	}
	
	public Terrain createDoor(){
		return new Terrain(engine,841,"door", TerrainType.Door, true, false, true);		
	}
	
	public Terrain createFloor(){
		//return new Terrain(engine,848,"floor", TerrainType.Floor, false, false, false);
		return createGrass();
	}
	
	public Terrain createGrass(){
		return new Terrain(engine,1057,"floor", TerrainType.Floor, false, false, false);		
	}
}
